#include <iostream>
using namespace std;
int main() {

// #define SOLUTION1
#ifdef SOLUTION1
  cout << "  *  " << endl;
  cout << " *** " << endl;
  cout << "*****" << endl;
  cout << " *** " << endl;
  cout << "  *  " << endl;
#endif

#define SOLUTION2
#ifdef SOLUTION2
  cout << "  *  \n" 
    << " *** \n"
    << "*****\n"
    << " *** \n"
    << "  *  \n" << endl;
#endif

  return 0;
}